ProfilePress\Core\Membership\Models\Order\OrderEntity A

Total Complexity 66
Dependencies 14
Dependents 9
Total lines 562
Lines of code 243
Logical lines of code 104
Comment lines 118
Methods 51
Properties 26

Methods 51

Method Rating Maintainability Complexity Lines of code
is_refundable()
S
61 4 13
__construct()
S
68 4 7
refund_order()
S
60 2 15
update_status()
S
62 2 11
get_customer_full_address()
S
62 2 10
save()
S
64 2 10
set_currency()
S
71 2 6
set_mode()
S
70 2 6
set_status()
S
70 2 6
get_payment_method_title()
S
73 2 5
complete_order()
S
63 2 10
is_new_order()
S
80 1 3
key_is_valid()
S
79 1 3
get_plan_purchase_note()
S
68 1 9
is_renewal_order()
S
80 1 3
is_completed()
S
80 1 3
is_failed()
S
80 1 3
is_pending()
S
80 1 3
is_refunded()
S
80 1 3
delete_note()
S
80 1 3
get_refund_url()
S
73 1 4
update_transaction_id()
S
79 1 3
get_notes()
S
80 1 3
add_note()
S
79 1 3
get_transaction_id()
S
82 1 3
get_meta()
S
72 1 6
add_meta()
S
70 1 7
update_meta()
S
70 1 7
get_linked_transaction_id()
S
79 1 3
get_subscription_id()
S
80 1 3
get_customer_email()
S
80 1 3
get_discount()
S
81 1 3
get_id()
S
80 1 3
fail_order()
S
70 1 6
set_order_key()
S
78 1 3
get_customer_tax_id()
S
80 1 3
get_subtotal()
S
81 1 3
get_tax()
S
81 1 3
get_tax_rate()
S
81 1 3
get_total()
S
81 1 3
get_order_number()
S
78 1 3
get_plan()
S
80 1 3
get_order_key()
S
82 1 3
get_reduced_order_key()
S
78 1 3
get_order_id()
S
81 1 3
get_plan_id()
S
80 1 3
exists()
S
80 1 3
get_subscription()
S
80 1 3
get_customer_id()
S
80 1 3
get_customer()
S
80 1 3
delete_meta()
S
72 1 6